package org.opens.sql.constant;

public enum GenSqlType {

    ENTITY("实体", 1),
    CONSTANT("常量", 2),
    MAPPER("mapper层", 3),
    SERVICE("service层", 4),
    CONTROLLER("controller层", 5);

    private String name;

    /**
     * 控制生成顺序
     */
    private Integer genOrder;

    GenSqlType(String name, Integer genOrder) {
        this.name = name;
        this.genOrder = genOrder;
    }

    public String getName() {
        return name;
    }

    public Integer getGenOrder() {
        return genOrder;
    }

}
